package org.genntii.warehousesystem.domain.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "员工实体")
public class EmployeeDTO {
    @Schema(description = "id",type = "int",required = true)
    private int id;
    @Schema(description = "员工姓名",type = "String",required = true)
    private String name;
    @Schema(description = "婚否 1-已婚 0-未婚",type = "int",required = true)
    private int married;
    @Schema(description = "教育程度 1-大专 2-本科 3-研究生 4-博士 5-其他",type = "int",required = true)
    private int education;
    @Schema(description = "联系电话",type = "String",required = true)
    private String tel;
    @Schema(description = "住址",type = "String",required = true)
    private String address;
    @Schema(description = "状态 1-在职 2-休假 3-离职 4-死亡",type = "int",required = true)
    private int status;
}
